↳ Prolog
↳ PrologToPiTRSProof
p_in(d(d(X)), DDX) → U5(X, DDX, p_in(d(X), DX))
p_in(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U3(X, Y, DY, DX, p_in(d(e(X)), DX))
p_in(d(e(+(X, Y))), +(DX, DY)) → U1(X, Y, DX, DY, p_in(d(e(X)), DX))
p_in(d(e(const(A))), const(0)) → p_out(d(e(const(A))), const(0))
p_in(d(e(t)), const(1)) → p_out(d(e(t)), const(1))
U1(X, Y, DX, DY, p_out(d(e(X)), DX)) → U2(X, Y, DX, DY, p_in(d(e(Y)), DY))
U2(X, Y, DX, DY, p_out(d(e(Y)), DY)) → p_out(d(e(+(X, Y))), +(DX, DY))
U3(X, Y, DY, DX, p_out(d(e(X)), DX)) → U4(X, Y, DY, DX, p_in(d(e(Y)), DY))
U4(X, Y, DY, DX, p_out(d(e(Y)), DY)) → p_out(d(e(*(X, Y))), +(*(X, DY), *(Y, DX)))
U5(X, DDX, p_out(d(X), DX)) → U6(X, DDX, DX, p_in(d(e(DX)), DDX))
U6(X, DDX, DX, p_out(d(e(DX)), DDX)) → p_out(d(d(X)), DDX)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
p_in(d(d(X)), DDX) → U5(X, DDX, p_in(d(X), DX))
p_in(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U3(X, Y, DY, DX, p_in(d(e(X)), DX))
p_in(d(e(+(X, Y))), +(DX, DY)) → U1(X, Y, DX, DY, p_in(d(e(X)), DX))
p_in(d(e(const(A))), const(0)) → p_out(d(e(const(A))), const(0))
p_in(d(e(t)), const(1)) → p_out(d(e(t)), const(1))
U1(X, Y, DX, DY, p_out(d(e(X)), DX)) → U2(X, Y, DX, DY, p_in(d(e(Y)), DY))
U2(X, Y, DX, DY, p_out(d(e(Y)), DY)) → p_out(d(e(+(X, Y))), +(DX, DY))
U3(X, Y, DY, DX, p_out(d(e(X)), DX)) → U4(X, Y, DY, DX, p_in(d(e(Y)), DY))
U4(X, Y, DY, DX, p_out(d(e(Y)), DY)) → p_out(d(e(*(X, Y))), +(*(X, DY), *(Y, DX)))
U5(X, DDX, p_out(d(X), DX)) → U6(X, DDX, DX, p_in(d(e(DX)), DDX))
U6(X, DDX, DX, p_out(d(e(DX)), DDX)) → p_out(d(d(X)), DDX)
P_IN(d(d(X)), DDX) → U51(X, DDX, p_in(d(X), DX))
P_IN(d(d(X)), DDX) → P_IN(d(X), DX)
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U31(X, Y, DY, DX, p_in(d(e(X)), DX))
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → P_IN(d(e(X)), DX)
P_IN(d(e(+(X, Y))), +(DX, DY)) → U11(X, Y, DX, DY, p_in(d(e(X)), DX))
P_IN(d(e(+(X, Y))), +(DX, DY)) → P_IN(d(e(X)), DX)
U11(X, Y, DX, DY, p_out(d(e(X)), DX)) → U21(X, Y, DX, DY, p_in(d(e(Y)), DY))
U11(X, Y, DX, DY, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
U31(X, Y, DY, DX, p_out(d(e(X)), DX)) → U41(X, Y, DY, DX, p_in(d(e(Y)), DY))
U31(X, Y, DY, DX, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
U51(X, DDX, p_out(d(X), DX)) → U61(X, DDX, DX, p_in(d(e(DX)), DDX))
U51(X, DDX, p_out(d(X), DX)) → P_IN(d(e(DX)), DDX)
p_in(d(d(X)), DDX) → U5(X, DDX, p_in(d(X), DX))
p_in(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U3(X, Y, DY, DX, p_in(d(e(X)), DX))
p_in(d(e(+(X, Y))), +(DX, DY)) → U1(X, Y, DX, DY, p_in(d(e(X)), DX))
p_in(d(e(const(A))), const(0)) → p_out(d(e(const(A))), const(0))
p_in(d(e(t)), const(1)) → p_out(d(e(t)), const(1))
U1(X, Y, DX, DY, p_out(d(e(X)), DX)) → U2(X, Y, DX, DY, p_in(d(e(Y)), DY))
U2(X, Y, DX, DY, p_out(d(e(Y)), DY)) → p_out(d(e(+(X, Y))), +(DX, DY))
U3(X, Y, DY, DX, p_out(d(e(X)), DX)) → U4(X, Y, DY, DX, p_in(d(e(Y)), DY))
U4(X, Y, DY, DX, p_out(d(e(Y)), DY)) → p_out(d(e(*(X, Y))), +(*(X, DY), *(Y, DX)))
U5(X, DDX, p_out(d(X), DX)) → U6(X, DDX, DX, p_in(d(e(DX)), DDX))
U6(X, DDX, DX, p_out(d(e(DX)), DDX)) → p_out(d(d(X)), DDX)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
P_IN(d(d(X)), DDX) → U51(X, DDX, p_in(d(X), DX))
P_IN(d(d(X)), DDX) → P_IN(d(X), DX)
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U31(X, Y, DY, DX, p_in(d(e(X)), DX))
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → P_IN(d(e(X)), DX)
P_IN(d(e(+(X, Y))), +(DX, DY)) → U11(X, Y, DX, DY, p_in(d(e(X)), DX))
P_IN(d(e(+(X, Y))), +(DX, DY)) → P_IN(d(e(X)), DX)
U11(X, Y, DX, DY, p_out(d(e(X)), DX)) → U21(X, Y, DX, DY, p_in(d(e(Y)), DY))
U11(X, Y, DX, DY, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
U31(X, Y, DY, DX, p_out(d(e(X)), DX)) → U41(X, Y, DY, DX, p_in(d(e(Y)), DY))
U31(X, Y, DY, DX, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
U51(X, DDX, p_out(d(X), DX)) → U61(X, DDX, DX, p_in(d(e(DX)), DDX))
U51(X, DDX, p_out(d(X), DX)) → P_IN(d(e(DX)), DDX)
p_in(d(d(X)), DDX) → U5(X, DDX, p_in(d(X), DX))
p_in(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U3(X, Y, DY, DX, p_in(d(e(X)), DX))
p_in(d(e(+(X, Y))), +(DX, DY)) → U1(X, Y, DX, DY, p_in(d(e(X)), DX))
p_in(d(e(const(A))), const(0)) → p_out(d(e(const(A))), const(0))
p_in(d(e(t)), const(1)) → p_out(d(e(t)), const(1))
U1(X, Y, DX, DY, p_out(d(e(X)), DX)) → U2(X, Y, DX, DY, p_in(d(e(Y)), DY))
U2(X, Y, DX, DY, p_out(d(e(Y)), DY)) → p_out(d(e(+(X, Y))), +(DX, DY))
U3(X, Y, DY, DX, p_out(d(e(X)), DX)) → U4(X, Y, DY, DX, p_in(d(e(Y)), DY))
U4(X, Y, DY, DX, p_out(d(e(Y)), DY)) → p_out(d(e(*(X, Y))), +(*(X, DY), *(Y, DX)))
U5(X, DDX, p_out(d(X), DX)) → U6(X, DDX, DX, p_in(d(e(DX)), DDX))
U6(X, DDX, DX, p_out(d(e(DX)), DDX)) → p_out(d(d(X)), DDX)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
P_IN(d(e(+(X, Y))), +(DX, DY)) → U11(X, Y, DX, DY, p_in(d(e(X)), DX))
U11(X, Y, DX, DY, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
U31(X, Y, DY, DX, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U31(X, Y, DY, DX, p_in(d(e(X)), DX))
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → P_IN(d(e(X)), DX)
P_IN(d(e(+(X, Y))), +(DX, DY)) → P_IN(d(e(X)), DX)
p_in(d(d(X)), DDX) → U5(X, DDX, p_in(d(X), DX))
p_in(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U3(X, Y, DY, DX, p_in(d(e(X)), DX))
p_in(d(e(+(X, Y))), +(DX, DY)) → U1(X, Y, DX, DY, p_in(d(e(X)), DX))
p_in(d(e(const(A))), const(0)) → p_out(d(e(const(A))), const(0))
p_in(d(e(t)), const(1)) → p_out(d(e(t)), const(1))
U1(X, Y, DX, DY, p_out(d(e(X)), DX)) → U2(X, Y, DX, DY, p_in(d(e(Y)), DY))
U2(X, Y, DX, DY, p_out(d(e(Y)), DY)) → p_out(d(e(+(X, Y))), +(DX, DY))
U3(X, Y, DY, DX, p_out(d(e(X)), DX)) → U4(X, Y, DY, DX, p_in(d(e(Y)), DY))
U4(X, Y, DY, DX, p_out(d(e(Y)), DY)) → p_out(d(e(*(X, Y))), +(*(X, DY), *(Y, DX)))
U5(X, DDX, p_out(d(X), DX)) → U6(X, DDX, DX, p_in(d(e(DX)), DDX))
U6(X, DDX, DX, p_out(d(e(DX)), DDX)) → p_out(d(d(X)), DDX)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
P_IN(d(e(+(X, Y))), +(DX, DY)) → U11(X, Y, DX, DY, p_in(d(e(X)), DX))
U11(X, Y, DX, DY, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
U31(X, Y, DY, DX, p_out(d(e(X)), DX)) → P_IN(d(e(Y)), DY)
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U31(X, Y, DY, DX, p_in(d(e(X)), DX))
P_IN(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → P_IN(d(e(X)), DX)
P_IN(d(e(+(X, Y))), +(DX, DY)) → P_IN(d(e(X)), DX)
p_in(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U3(X, Y, DY, DX, p_in(d(e(X)), DX))
p_in(d(e(+(X, Y))), +(DX, DY)) → U1(X, Y, DX, DY, p_in(d(e(X)), DX))
p_in(d(e(const(A))), const(0)) → p_out(d(e(const(A))), const(0))
p_in(d(e(t)), const(1)) → p_out(d(e(t)), const(1))
U3(X, Y, DY, DX, p_out(d(e(X)), DX)) → U4(X, Y, DY, DX, p_in(d(e(Y)), DY))
U1(X, Y, DX, DY, p_out(d(e(X)), DX)) → U2(X, Y, DX, DY, p_in(d(e(Y)), DY))
U4(X, Y, DY, DX, p_out(d(e(Y)), DY)) → p_out(d(e(*(X, Y))), +(*(X, DY), *(Y, DX)))
U2(X, Y, DX, DY, p_out(d(e(Y)), DY)) → p_out(d(e(+(X, Y))), +(DX, DY))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ PiDP
P_IN(d(e(+(X, Y)))) → P_IN(d(e(X)))
P_IN(d(e(*(X, Y)))) → P_IN(d(e(X)))
U11(Y, p_out(DX)) → P_IN(d(e(Y)))
P_IN(d(e(*(X, Y)))) → U31(X, Y, p_in(d(e(X))))
U31(X, Y, p_out(DX)) → P_IN(d(e(Y)))
P_IN(d(e(+(X, Y)))) → U11(Y, p_in(d(e(X))))
p_in(d(e(*(X, Y)))) → U3(X, Y, p_in(d(e(X))))
p_in(d(e(+(X, Y)))) → U1(Y, p_in(d(e(X))))
p_in(d(e(const(A)))) → p_out(const(0))
p_in(d(e(t))) → p_out(const(1))
U3(X, Y, p_out(DX)) → U4(X, Y, DX, p_in(d(e(Y))))
U1(Y, p_out(DX)) → U2(DX, p_in(d(e(Y))))
U4(X, Y, DX, p_out(DY)) → p_out(+(*(X, DY), *(Y, DX)))
U2(DX, p_out(DY)) → p_out(+(DX, DY))
p_in(x0)
U3(x0, x1, x2)
U1(x0, x1)
U4(x0, x1, x2, x3)
U2(x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN(d(e(+(X, Y)))) → P_IN(d(e(X)))
P_IN(d(e(*(X, Y)))) → P_IN(d(e(X)))
P_IN(d(e(*(X, Y)))) → U31(X, Y, p_in(d(e(X))))
P_IN(d(e(+(X, Y)))) → U11(Y, p_in(d(e(X))))
Used ordering: Polynomial interpretation [25]:
U11(Y, p_out(DX)) → P_IN(d(e(Y)))
U31(X, Y, p_out(DX)) → P_IN(d(e(Y)))
POL(*(x1, x2)) = 1 + x1 + x2
POL(+(x1, x2)) = 1 + x1 + x2
POL(0) = 0
POL(1) = 0
POL(P_IN(x1)) = x1
POL(U1(x1, x2)) = 0
POL(U11(x1, x2)) = x1
POL(U2(x1, x2)) = 0
POL(U3(x1, x2, x3)) = 0
POL(U31(x1, x2, x3)) = x1 + x2
POL(U4(x1, x2, x3, x4)) = 0
POL(const(x1)) = 0
POL(d(x1)) = x1
POL(e(x1)) = x1
POL(p_in(x1)) = 0
POL(p_out(x1)) = 0
POL(t) = 0
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
U11(Y, p_out(DX)) → P_IN(d(e(Y)))
U31(X, Y, p_out(DX)) → P_IN(d(e(Y)))
p_in(d(e(*(X, Y)))) → U3(X, Y, p_in(d(e(X))))
p_in(d(e(+(X, Y)))) → U1(Y, p_in(d(e(X))))
p_in(d(e(const(A)))) → p_out(const(0))
p_in(d(e(t))) → p_out(const(1))
U3(X, Y, p_out(DX)) → U4(X, Y, DX, p_in(d(e(Y))))
U1(Y, p_out(DX)) → U2(DX, p_in(d(e(Y))))
U4(X, Y, DX, p_out(DY)) → p_out(+(*(X, DY), *(Y, DX)))
U2(DX, p_out(DY)) → p_out(+(DX, DY))
p_in(x0)
U3(x0, x1, x2)
U1(x0, x1)
U4(x0, x1, x2, x3)
U2(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
P_IN(d(d(X)), DDX) → P_IN(d(X), DX)
p_in(d(d(X)), DDX) → U5(X, DDX, p_in(d(X), DX))
p_in(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) → U3(X, Y, DY, DX, p_in(d(e(X)), DX))
p_in(d(e(+(X, Y))), +(DX, DY)) → U1(X, Y, DX, DY, p_in(d(e(X)), DX))
p_in(d(e(const(A))), const(0)) → p_out(d(e(const(A))), const(0))
p_in(d(e(t)), const(1)) → p_out(d(e(t)), const(1))
U1(X, Y, DX, DY, p_out(d(e(X)), DX)) → U2(X, Y, DX, DY, p_in(d(e(Y)), DY))
U2(X, Y, DX, DY, p_out(d(e(Y)), DY)) → p_out(d(e(+(X, Y))), +(DX, DY))
U3(X, Y, DY, DX, p_out(d(e(X)), DX)) → U4(X, Y, DY, DX, p_in(d(e(Y)), DY))
U4(X, Y, DY, DX, p_out(d(e(Y)), DY)) → p_out(d(e(*(X, Y))), +(*(X, DY), *(Y, DX)))
U5(X, DDX, p_out(d(X), DX)) → U6(X, DDX, DX, p_in(d(e(DX)), DDX))
U6(X, DDX, DX, p_out(d(e(DX)), DDX)) → p_out(d(d(X)), DDX)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
P_IN(d(d(X)), DDX) → P_IN(d(X), DX)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
P_IN(d(d(X))) → P_IN(d(X))
From the DPs we obtained the following set of size-change graphs: